# -*- coding: utf-8 -*-
"""
@Time    : 2024/9/12 16:04 
@Author  : ZhangShenao 
@File    : entity.py
@Desc    : 用户实体类
"""


class UserEntity:
    """用户实体类"""

    def __init__(self, user_id: int, username: str, age: int):
        """
        构造函数
        :param user_id: 用户ID
        :param username: 用户名
        :param age: 年龄
        """

        self.user_id = user_id
        self.username = username
        self.age = age

    def __str__(self) -> str:
        return f"UserEntity(user_id={self.user_id}, username={self.username}, age={self.age})"
